//
//  returnMoneyDetialCell.m
//  jiaKaoZhuShou
//
//  Created by 金艺社 on 2018/5/22.
//  Copyright © 2018年 金艺社. All rights reserved.
//

#import "returnMoneyDetialCell.h"

@implementation returnMoneyDetialCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setModel:(historyModel *)model {
    _model = model;
    self.yihuan_lab.text = [NSString stringWithFormat:@"%@/%@", _model.oldDivides, _model.divides];
    self.money_lab.text = [NSString stringWithFormat:@"%@(含手续费%@)", _model.repaymentAccount, _model.interest];
    NSString *time = [NSString ConvertStrToTime:_model.shoudRepaymentDate];
    self.time_lab.text = [NSString stringWithFormat:@"还款日期：%@", [time substringToIndex:10]];
}
@end
